package com.th.supcom.pds.domain.pojo;

import java.util.Date;

import net.carefx.framework.translate.Translatable;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * PdsPresc Pojo对象.
 * 
 * 处方主记录.
 */
public class PdsPresc implements java.io.Serializable, Translatable
{
    private static final long serialVersionUID = 1L;

    /** 主键标识. */
    private String m_prescNo;
    /** 标识处方是从门诊而来或是从住院而来。0-门诊 1-住院 2-出院带药，3-急诊，4-平诊,5-门诊退药，6-住院退药. */
    private Integer m_prescSource;
    /** 收方时间. */
    private Date m_prescriptionTime;
    /** 收方人. */
    private String m_prescriptionPersonnel;

    /** 窗口号. */
    private Long m_outpDispensaryWin;

    /** 核药人. */
    private String m_checkPharmacist;

    /**
     * 审核时间CHECK_DATETIME .
     */
    private Date m_checkDatetime;

    /** 处方合格标志0-不合格 1-合格. */
    private Integer m_qualifiedIndicator;

    /** 处方供药状态0 未发药1-已收费 2-已记账 3-已拣药 4-已发药 5-已改向. */
    private Integer m_prescSupplyDrugState;

    /** 退药状态0未退1-已退. */
    private Integer m_withdrawalDrugState;

    /** 打印类别0=工作台打印，1=支助中心打印. */
    private Integer m_printType;

    /** 是否打印0-未打印1-打印摆药单2-打印消费凭证3-全打. */
    private Integer m_isprint;

    /** 打印次数. */
    private Integer m_printNum;

    /** 审核备注. */
    private String m_memo;
    /** 计价标志 */
    private Integer m_chargeIndicator;

    /** 收费流水号. */
    private String m_rcptNo;
    /** 退药人ID. */
    private String m_drugReturn;

    /** 退药时间. */
    private Date m_drugReturnTime;

    /** 退费申请操作人ID. */
    private String m_refundAppl;

    /** 退费申请时间. */
    private Date m_refundApplTime;

    /**
     * 默认构造器 .
     */
    public PdsPresc ()
    {
    }

    /**
     * 获取主键标识属性.
     * 
     */
    public String getPrescNo ()
    {
        return m_prescNo;
    }

    /**
     * 设置主键标识属性.
     * 
     * @param prescNo .
     */
    public void setPrescNo (String prescNo)
    {
        m_prescNo = prescNo;
    }

    /**
     * 获取属性.
     * 
     */
    public Date getPrescriptionTime ()
    {
        if (m_prescriptionTime == null)
        {
            return null;
        }
        return (Date) m_prescriptionTime.clone ();
    }

    /**
     * 设置属性.
     * 
     * @param prescriptionTime .
     */
    public void setPrescriptionTime (Date prescriptionTime)
    {
        if (prescriptionTime == null)
        {
            m_prescriptionTime = null;
        }
        else
        {
            m_prescriptionTime = (Date) prescriptionTime.clone ();
        }
    }

    /**
     * 获取窗口号属性.
     * 
     */
    public Long getOutpDispensaryWin ()
    {
        return m_outpDispensaryWin;
    }

    /**
     * 设置窗口号属性.
     * 
     * @param outpDispensaryWin .
     */
    public void setOutpDispensaryWin (Long outpDispensaryWin)
    {
        m_outpDispensaryWin = outpDispensaryWin;
    }

    /**
     * 获取核药人属性.
     * 
     */
    public String getCheckPharmacist ()
    {
        return m_checkPharmacist;
    }

    /**
     * 设置核药人属性.
     * 
     * @param checkPharmacist .
     */
    public void setCheckPharmacist (String checkPharmacist)
    {
        m_checkPharmacist = checkPharmacist;
    }

    /**
     * 获取审核时间CHECK_DATETIME 属性.
     * 
     */
    public Date getCheckDatetime ()
    {
        if (m_checkDatetime == null)
        {
            return null;
        }
        return (Date) m_checkDatetime.clone ();
    }

    /**
     * 设置审核时间CHECK_DATETIME 属性.
     * 
     * @param checkDatetime .
     */
    public void setCheckDatetime (Date checkDatetime)
    {
        if (checkDatetime == null)
        {
            m_checkDatetime = null;
        }
        else
        {
            m_checkDatetime = (Date) checkDatetime.clone ();
        }
    }

    /**
     * 获取处方合格标志0-不合格 1-合格属性.
     * 
     */
    public Integer getQualifiedIndicator ()
    {
        return m_qualifiedIndicator;
    }

    /**
     * 设置处方合格标志0-不合格 1-合格属性.
     * 
     * @param qualifiedIndicator .
     */
    public void setQualifiedIndicator (Integer qualifiedIndicator)
    {
        m_qualifiedIndicator = qualifiedIndicator;
    }

    /**
     * 获取处方供药状态0 未发药1-已收费 2-已记账 3-已拣药 4-已发药 5-已改向属性.
     * 
     */
    public Integer getPrescSupplyDrugState ()
    {
        return m_prescSupplyDrugState;
    }

    /**
     * 设置处方供药状态0 未发药1-已收费 2-已记账 3-已拣药 4-已发药 5-已改向属性.
     * 
     * @param prescSupplyDrugState .
     */
    public void setPrescSupplyDrugState (Integer prescSupplyDrugState)
    {
        m_prescSupplyDrugState = prescSupplyDrugState;
    }

    /**
     * 获取退药状态0未退1-已退属性.
     * 
     */
    public Integer getWithdrawalDrugState ()
    {
        return m_withdrawalDrugState;
    }

    /**
     * 设置退药状态0未退1-已退属性.
     * 
     * @param withdrawalDrugState .
     */
    public void setWithdrawalDrugState (Integer withdrawalDrugState)
    {
        m_withdrawalDrugState = withdrawalDrugState;
    }

    /**
     * 获取打印类别0=工作台打印，1=支助中心打印属性.
     * 
     */
    public Integer getPrintType ()
    {
        return m_printType;
    }

    /**
     * 设置打印类别0=工作台打印，1=支助中心打印属性.
     * 
     * @param printType .
     */
    public void setPrintType (Integer printType)
    {
        m_printType = printType;
    }

    /**
     * 获取是否打印0-未打印1-打印摆药单2-打印消费凭证3-全打属性.
     * 
     */
    public Integer getIsprint ()
    {
        return m_isprint;
    }

    /**
     * 设置是否打印0-未打印1-打印摆药单2-打印消费凭证3-全打属性.
     * 
     * @param isprint .
     */
    public void setIsprint (Integer isprint)
    {
        m_isprint = isprint;
    }

    /**
     * 获取打印次数属性.
     * 
     */
    public Integer getPrintNum ()
    {
        return m_printNum;
    }

    /**
     * 设置打印次数属性.
     * 
     * @param printNum .
     */
    public void setPrintNum (Integer printNum)
    {
        m_printNum = printNum;
    }

    /**
     * 获取审核备注属性.
     * 
     */
    public String getMemo ()
    {
        return m_memo;
    }

    /**
     * 设置审核备注属性.
     * 
     * @param memo .
     */
    public void setMemo (String memo)
    {
        m_memo = memo;
    }

    /**
     * 获取收费流水号属性.
     * 
     */
    public String getRcptNo ()
    {
        return m_rcptNo;
    }

    /**
     * 设置收费流水号属性.
     * 
     * @param rcptNo .
     */
    public void setRcptNo (String rcptNo)
    {
        m_rcptNo = rcptNo;
    }

    public Integer getChargeIndicator ()
    {
        return m_chargeIndicator;
    }

    public void setChargeIndicator (Integer chargeIndicator)
    {
        m_chargeIndicator = chargeIndicator;
    }

    /**
     * 获取退药人ID属性.
     * 
     */
    public String getDrugReturn ()
    {
        return m_drugReturn;
    }

    /**
     * 设置退药人ID属性.
     * 
     * @param drugReturn.
     */
    public void setDrugReturn (String drugReturn)
    {
        m_drugReturn = drugReturn;
    }

    /**
     * 获取退药时间属性.
     * 
     */
    public Date getDrugReturnTime ()
    {
        return m_drugReturnTime;
    }

    /**
     * 设置退药时间属性.
     * 
     * @param drugReturnTime.
     */
    public void setDrugReturnTime (Date drugReturnTime)
    {
        m_drugReturnTime = drugReturnTime;
    }

    /**
     * 获取退费申请操作人ID属性.
     * 
     */
    public String getRefundAppl ()
    {
        return m_refundAppl;
    }

    /**
     * 设置退费申请操作人ID属性.
     * 
     * @param refundAppl.
     */
    public void setRefundAppl (String refundAppl)
    {
        m_refundAppl = refundAppl;
    }

    /**
     * 获取退费申请时间属性.
     * 
     */
    public Date getRefundApplTime ()
    {
        return m_refundApplTime;
    }

    /**
     * 设置退费申请时间属性.
     * 
     * @param refundApplTime.
     */
    public void setRefundApplTime (Date refundApplTime)
    {
        m_refundApplTime = refundApplTime;
    }

    public String getPrescriptionPersonnel ()
    {

        return m_prescriptionPersonnel;
    }

    public void setPrescriptionPersonnel (String prescriptionPersonnel)
    {

        m_prescriptionPersonnel = prescriptionPersonnel;
    }
    public Integer getPrescSource ()
    {
    
        return m_prescSource;
    }

    public void setPrescSource (Integer prescSource)
    {
    
        m_prescSource = prescSource;
    }

    /** 日志记录器. */
    public static final Logger s_logger = LoggerFactory.getLogger (PdsPresc.class);

    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, TH Supcom Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";
}
